package com.scs.application.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.modules.base.entity.SupplierDistribution;
import com.scs.application.modules.base.request.SupplierDistributionQueryRequest;
import com.scs.application.modules.base.vo.SupplierDistributionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 供应商授权配送 mapper对象
 *
 */
@Mapper
public interface SupplierDistributionMapper extends BaseMapper<SupplierDistribution> {

    IPage<SupplierDistributionVO> pageAuthorize(IPage page, @Param("request") SupplierDistributionQueryRequest request);

    IPage<SupplierDistributionVO> pageAuthorizeSupplier(IPage page, @Param("request") SupplierDistributionQueryRequest request);

}
